package com.swl.service;

import com.swl.pojo.User;

import java.util.List;

public interface UserService {
    int insertUser(User user);
    int updateUser(User user);
    int deleteUser(int id);
    User selectUserById(int id);
    List<User> selectAllUser();
    User selectUserByNamePwdFlag(String userName, String userPwd, Integer userFlag);
//    String sendMsgToPhone(String userPhone);
}
